<li>
    <a href="/user/{{ item_user.pk }}" class="fly-avatar">
        <img src="{{ item_user.avatar.url|default:'/static/images/avatar/1.jpg' }}" alt="{{ item_user.user.username }}">
    </a>
    <h2>
        <a class="layui-badge">{{ item_catalog.name }}</a>
        <a href="/post/{{ item.pk }}">{{ item.title }}</a>
    </h2>
    <div class="fly-list-info">
        <a href="/user/{{ item_user.pk }}" link>
            <cite>{{ item_user.username }}</cite>
            {% if item_user.renzheng %}
                <i class="iconfont icon-renzheng">{{ item_user.renzheng }}</i>
            {% endif %}
            {% if item_user.vip|default:0 > 0 %}
                <i class="layui-badge fly-badge-vip">VIP{{ item_user.vip }}</i>
            {% endif %}
        </a>
        <span>{{ item.create_at|date:'Y-m-d H:i' }}</span>
        <span class="fly-list-kiss layui-hide-xs" title="悬赏金币"><i
                class="iconfont icon-jifen"></i>{{ item.reward|default:0 }}</span>
        {% if item.is_closed %}
            <span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
        {% endif %}

        <span class="fly-list-nums">
                <i class="iconfont icon-pinglun1" title="回答"></i> {{ item.comment_count|default:0 }}
                <i class="iconfont" title="查看"{% if user_info in item.viewed.all %} style="color: #ff983e;"{% endif %}>&#xe60b;</i> {{ item.view_count|default:0 }}
            </span>
    </div>
    <div class="fly-list-badge">
        {% if item.is_top %}
            <span class="layui-badge layui-bg-black">置顶</span>
        {% endif %}
        {% if item.is_cream %}
            <span class="layui-badge layui-bg-red">精帖</span>
        {% endif %}
    </div>
</li>